Skip to content

sync with master#2

Open
dumith-eranga wants to merge 22 commits intofeature/ng-disabledfrom
master
Open

sync with master#2
dumith-eranga wants to merge 22 commits intofeature/ng-disabledfrom
master

Conversation

@dumith-eranga
Copy link
Owner

No description provided.

ziscloud and others added 22 commits August 4, 2016 10:07
…ouble-switching

fix for double switching
Add main entry to package.json
- Adds support for "ng-disabled";
- Fixes "width" and "height" attributes;
- Fixes width calculation (width increases with each flip);
- Allows to style each toggle widget individually via toggle-style attribute;
- Removes "style" attribute due to name conflict;
- Other improvements and optimizations;
- Adds support for "ng-disabled";
- Fixes "width" and "height" attributes;
- Fixes width calculation (width increases with each flip);
- Allows to style each toggle widget individually via toggle-style attribute;
- Removes "style" attribute due to name conflict;
- Other improvements and optimizations;
Updated version. Support for "ng-disabled and bug fixes.
* Upgraded packages, modules and dependencies
* Fixed JSHint issues
* Changed `onstyle` for `onClass` and `offstyle` for `offClass`
* Removed global variables
* Fixed the toggle initialization so that it doesn't toggle twice from on, to off, to on again
* Removed unnecessary $watch of ngModel
* Really fixed the width issue. Using _scrollWidth_ works well and does not require checking the wrapper width.
…n behavior to version 0.1.1

* Re-implemented the `style` attribute, which is now replaced with `toggle-class` (more logical and consistent with `on-class` and `off-class` (`style` is still supported for backward compatibility)
* Updated **index.html** to reflect the latest changes in the attributes
* Moved **gh-pages** branch content to **master/** with some updates and so so that index.html automatically uses /dist files
* Button size classes (`btn-lg`, `btn-sm`, etc.) are properly set to all elements as attribute `size` is specified
* Button width and height automatically adjusts with the content size and font size (incl. a refresh once all fonts from the document are loaded)
* Removed artifical `min-height` values for the various button sizes (it's automatic now)
* Added support for empty buttons
…t-does-not-work

Fix height issues (as reported in issue ziscloud#5) and various improvements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants